package com.youedata.modular.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 我的盐城秘钥表
 * </p>
 *
 * @author hao.yan
 * @since 2020-09-13
 */
@TableName("key_info")
public class KeyInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @TableField("dept_name")
    private String deptName;

    @TableField("app_id")
    private String appId;

    @TableField("app_key")
    private String appKey;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    @Override
    public String toString() {
        return "KeyInfo{" +
        "id=" + id +
        ", deptName=" + deptName +
        ", appId=" + appId +
        ", appKey=" + appKey +
        "}";
    }
}
